
 IfThereIs
~~~~~~~~~~~
Program		IfThereIs
Purpose		Detects presence of files or directories
Version		1.00, Wednesday the 16th of November, 1993
Author		Dave Lawrence
Copyright	(C) Dave Lawrence 1993
Licence		GPL


 About
=======

Detects presence of files or directories.


 Syntax
========

IfThereIs [-Not] [ -File | -Dir | -App | -Image ] [-x] <object>
          <yes command> [<no command>]
          | <command> <yes param> <no param>


 For instance
==============

IfThereIs [options] <object> <command>
    <command> executed if <object> found
   
IfThereIs [options] <object> <command_1> <command_2>
    <command_1> executed if <object> found
    <command_2> executed if not found
   
IfThereIs [options] <object> <command> <param_1> <param_2>
    <command> <param_1> executed if <object> found
    <command> <param_2> executed if not found

-x makes IfThereIs take the no option if any OS errors reported during the
testing.


 Examples
==========

    IfThereIs -App Apps:!ArtWorks "Echo ArtWorks installed"
    IfThereIs <Obey$Dir>.!Run "<Obey$Dir>.!Run" "Echo No !Run file"
    IfThereIs Resources:$.Apps.!Help "Set Help$Present" yes no
    IfThereIs -Image ADFS::0.$ "Echo Dos Disc: " yes no
